/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package wnsimex.basics;

import java.util.EventObject;
import wnsimex.events.ReceptionInterface;
import wnsimex.events.TransmissionInterface;

/**
 *
 * @author artem
 */
public abstract class Node implements Runnable, TransmissionInterface, ReceptionInterface {

    protected int id;
    
    public Node(int id) {
        this.id = id;
    }

    public int getId(){
        return this.id;
    }
    
    @Override
    public void run() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public void handleTransmission(EventObject e) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public void handleReception(EventObject e) {
        throw new UnsupportedOperationException("Not supported yet.");
    }
}
